<!DOCTYPE html>
<html>
<head>
    <title>ZLMRTCClient 加载测试</title>
</head>
<body>
    <h1>ZLMRTCClient 加载测试</h1>
    <div id="status">正在测试...</div>
    
    <script>
        console.log('开始加载 ZLMRTCClient...');
        
        const script = document.createElement('script');
        script.src = '/libs/ZLMRTCClient.js';
        script.async = true;
        
        script.onload = () => {
            console.log('ZLMRTCClient 加载成功');
            document.getElementById('status').textContent = '✅ ZLMRTCClient 加载成功';
            console.log('ZLMRTCClient 对象:', typeof ZLMRTCClient);
        };
        
        script.onerror = (error) => {
            console.error('ZLMRTCClient 加载失败:', error);
            document.getElementById('status').textContent = '❌ ZLMRTCClient 加载失败';
        };
        
        document.head.appendChild(script);
    </script>
</body>
</html> 